package net.zhengxinyun.performance.service.warn;

import net.zhengxinyun.performance.entity.UserEntity;
import net.zhengxinyun.performance.entity.WarnEntity;
import net.zhengxinyun.performance.filter.CountryIndicatorsFilter;
import net.zhengxinyun.performance.filter.SixIndicatorsFilter;
import net.zhengxinyun.performance.filter.TownIndicatorsFilter;
import net.zhengxinyun.performance.filter.WarnFilter;

import java.util.List;
import java.util.Map;

/**
 * Created by hyp1202 on 2019/2/18.
 */
public interface WarnService {

    void insert();

    String update(WarnEntity warnEntity);

    List<WarnFilter> query(WarnFilter warnFilter);

    List<WarnFilter> loginQuery(UserEntity userEntity);

    int insertWarn(CountryIndicatorsFilter countryIndicatorsFilter)throws Exception;

    int insertWarn(TownIndicatorsFilter townIndicatorsFilter)throws Exception;

    int insertWarn(SixIndicatorsFilter sixIndicatorsFilter)throws Exception;

    int replyInsert(WarnEntity warnEntity);

    String updateStatusById(Long id);

    Map<String,Object> queryCountry(WarnFilter warnFilter);

    Map<String,Object> queryTown(WarnFilter warnFilter);

    Map<String,Object> querySix(WarnFilter warnFilter);

}
